package OOPS;

class Hello13 {
	int ab = 1234;

	void show() {
		System.out.println("show in Hello13\t" + ab);
	}
}

class Xyz1 {
	int ab;

	Xyz1(int ab) {
	}
}

class Test54 {
	public static void main(String str[]) {
		Hello13 h1 = new Hello13();
		Hello13 h2 = new Hello13();
		System.out.println(h1);
		System.out.println(h2);
		System.out.println(new Test54());
		System.out.println(new Xyz1(34));
		System.out.println(new Test54());
		System.out.println(new Xyz1(12));
		System.out.println(new Xyz1(13) {
		});
		Hello13 h3 = new Hello13() {
		};
		System.out.println(h3);
		h3.show();
		System.out.println(new Test54());
		System.out.println(new Test54());
		System.out.println(new Test54() {
		});
		System.out.println(new Test54() {
		});
		System.out.println(new Test54() {
		});
		System.out.println(new Test54() {
		});
		Hello13 h4 = new Hello13() {
			String str = "Member of Anonymous";

			void display() {
				System.out.println("** display in Anonymous class **\t:" + str);
			}

			void show() {
				System.out.println("** show in Anonymous class **\t:" + str + "\t" + ab);
				display();
			}
		};
		h4.show();
		// h4.display();
		System.out.println(h4.ab);
		// System.out.println(h4.str);
	}
}